package com.shadowlight.hero_story.config;

/**
 * @Description 所有配置
 * @Author cz
 * @Date 2022/3/15
 */
public final class AllConfig {

    /**
     * 游戏服务器端口号
     */
    public static final int GAME_SERVER_PORT = 12345;

    /**
     * MySQL 服务器主机地址
     */
    public static final String MYSQL_SERVER_HOST = "49.233.147.71";

    /**
     * MySQL 服务器端口号
     */
    static public final int MYSQL_SERVER_PORT = 3306;

    /**
     * MySQL 数据库
     */
    static public final String MYSQL_DB = "hero_story";

    /**
     * MySQL 用户名称
     */
    static public final String MYSQL_USER = "SL-production";

    /**
     * MySQL 密码
     */
    static public final String MYSQL_PASSWORD = "production1122";

    /**
     * Redis 服务器主机地址
     */
    static public final String REDIS_SERVER_HOST = "49.233.147.71";

    /**
     * Redis 服务器端口号
     */
    static public final int REDIS_SERVER_PORT = 6379;

    /**
     * Redis 服务器密码
     */
    static public final String REDIS_PASSWORD = "production666";

    /**
     * 启用 RocketMQ
     */
    static public final boolean ROCKETMQ_ENABLE = false;

    /**
     * RocketMQ NameServer 地址
     */
    static public final String ROCKETMQ_NAMESRV_ADDR = "49.233.147.71:9876";

    /**
     * 类默认构造器
     */
    private AllConfig() {
    }
}
